{literal}
<style type="text/css">
	.this .table {
		border-top:1px solid white; background-color:#F4F6F7; width:100%; border-bottom:1px solid #D6DBDE 
	}
	.this TABLE .td1{
		border-right:1px solid #D6DBDE; width:70px; height:22px; text-align:center
	}
	.this TABLE .td2{
		border-right:1px solid #D6DBDE; width:50px; text-align:center
	}
	.this TABLE .td3{
		border-right:1px solid #D6DBDE; text-align:center; width:120px
	}
	.this TABLE .td4{
		padding:0px 0px 0px 10px; border-right:1px solid #D6DBDE; width:200px
	}
	.this TABLE .td5{
		font-size:9px; color:#4C4C4C; text-align:center; border-right:1px solid #D6DBDE; width:50px
	}
	.this TABLE .td6{
		font-size:9px; color:#4C4C4C; text-align:center; border-right:1px solid #D6DBDE; width:100px
	}
	.this TABLE .td7{
		padding:0px 0px 0px 10px; border-right:1px solid #D6DBDE; background-color:#E8E8E8; width:150px
	}
	.this TABLE .td8{
		padding:0px 5px 0px 5px; border-right:1px solid #D6DBDE; width:37px
	}
	.this TABLE .td9{
		padding:0px 0px 0px 10px; border-right:1px solid #D6DBDE
	}
</style>
{/literal}
{ext->class_function class="clients" assign="is_client"}
{if $is_client == 1}
	<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#F8F9F9">
		<tr>
			<td>
	
	<table cellpadding="0" cellspacing="0" bgcolor="#F8F9F9">
		<tr>
			<td width="10"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			<td height="22" style="font-weight:bold" >{t t='Klientų valdymas'}</td>	
			<td width="15"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
		</tr>
	</table>
		</td>		
		</tr>
	</table>
	<table width="100%" cellpadding="0" cellspacing="0">
		<tr>
			<td height="2" bgcolor="#D9DFE3"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
		</tr>
	</table>
	<table width="100%" cellpadding="0" cellspacing="0">
		<tr>
			<td height="20"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
		</tr>
	</table>
	{include file="admin/modules/client/tabs.htm"}
	{if $smarty.get.tpl_client_module=='edit_client' && $smarty.get.client_id}
		{include file="admin/modules/client/contenteditor.htm"}
	{elseif $smarty.get.tpl_client_module=='show_groups'}		
		{include file="admin/modules/client/group_list.html"}
	{elseif $smarty.get.tpl_client_module=='group_form'}		
		{include file="admin/modules/client/form.htm"}
	{elseif $smarty.get.tpl_client_module=='search'}		
		{include file="admin/modules/client/search.html"}
	{elseif $smarty.get.tpl_client_module=='show_pass'}		
		{include file="admin/modules/client/show_pass.html"}
	{else}
		{include file="admin/modules/client/clientslist.htm"}
	{/if}
	{*
	
	{if $smarty.get.menu_level=="client_edit"}
			{include file="admin/modules/client/tabs.htm"}
			{include file="admin/modules/client/contenteditor.htm"}
	{else}	
		{if $smarty.get.group_id}
			{if $smarty.get.menu_level=="subgroup"}
				{include file="admin/modules/client/list.htm"}
				{include file="admin/modules/client/clientslist.htm"}
			{elseif $smarty.get.menu_level=="formgroup"}
				{include file="admin/modules/client/tabs.htm"}
				{include file="admin/modules/client/form.htm"}
			{/if}
		{else}
			{include file="admin/modules/client/list.htm"}
			{include file="admin/modules/client/clientslist.htm"}
		{/if}
	{/if}
	*}
{/if}
